package com.mini.auth.enums;

/**
 * 密码编码器类型枚举
 */
public enum PasswordEncoderTypeEnum {

    BCRYPT("{bcrypt}","BCRYPT加密"),
    NOOP("{noop}","无加密明文");

    private String prefix;
    private String desc;

    PasswordEncoderTypeEnum(String prefix,String desc){
        this.prefix=prefix;
        this.desc=desc;
    }

    public String getPrefix() {
        return prefix;
    }

    public String getDesc() {
        return desc;
    }
}